# -*- coding: utf-8 -*-
import scrapy


class NewSpider(scrapy.Spider):
    name = 'new'
    allowed_domains = ['localhost']
    start_urls = ['http://localhost:9312/properties/property_000000.html']

    def parse(self, response):
        title = response.xpath('//h1/text()').extract()
        print(title)
